package com.bluemson.dao;

import com.bluemson.entity.Article;
import com.bluemson.entity.Plate;
import com.bluemson.entity.User;

import java.util.List;

public interface SearchDao {
    /**
     * 模糊查询帖子标题和内容
     * @param article
     * @return
     */
    List<Article> article(String article);

    /**
     * 模糊查询板块名称
     * @param name
     * @return
     */
    Plate plate(String name);
}
